function config(env) 
{
  if(env === "dev") {
    const mysql_config = {
      host:"localhost",
      port:"3306",
      user:"root",
      password:"123456",
      database:"myblog"
    }
    return mysql_config
  } else {
    const mysql_config = {
      host:"0.0.0.0",
      port:"3306",
      user:"root",
      password:"123456",
      database:"myblog"
    }
    return mysql_config
  }
}

module.exports = config
